import { defineStore } from "pinia";

import l1 from '../assets/swip/1.png'
import l2 from '../assets/swip/2.png'
import l3 from '../assets/swip/3.png'
import l4 from '../assets/swip/4.png'
import l5 from '../assets/swip/5.png'
import l6 from '../assets/swip/6.png'
import l7 from '../assets/swip/7.png'
import l8 from '../assets/swip/8.png'
import l9 from '../assets/swip/9.png'
import l10 from '../assets/swip/10.png'
import h1 from '../assets/home-r/home-l1.png'
import h2 from '../assets/home-r/home-l2.png'
import h3 from '../assets/home-r/home-l3.png'


const useCounter = defineStore('counter', {
  state: () => ({
    slip: [
      { img: l1, text: '排行榜', id: 1 },
      { img: l2, text: '热门榜', id: 2 },
      { img: l3, text: '必看榜', id: 3 },
      { img: l4, text: '游戏榜', id: 4 },
      { img: l5, text: '精品榜', id: 5 },
      { img: l6, text: '鬼畜榜', id: 6 },
      { img: l7, text: '好评榜', id: 7 },
      { img: l8, text: '短剧榜', id: 8 },
      { img: l9, text: '热搜榜', id: 9 },
      { img: l10, text: '飙升榜', id: 10 },
    ],
    slipShow: [
      { img: l1, text: '手办雕塑', id: 1 },
      { img: l2, text: '盲盒', id: 2 },
      { img: l3, text: '漫展', id: 3 },
      { img: l4, text: '新人福利', id: 4 },
      { img: l5, text: '3c数码', id: 5 },
      { img: l6, text: '漫画', id: 6 },
      { img: l7, text: '谷子', id: 7 },
      { img: l8, text: 'Q版手办', id: 8 },
      { img: l9, text: '品牌馆', id: 9 },
      { img: l10, text: '个性装扮', id: 10 },
    ],
    showImg1: [
      { img: h1, text: '英雄联盟', id: 1 },
      { img: h2, text: '王者荣耀', id: 2 },
      { img: h3, text: '原神', id: 3 },
    ],
    showImg2: [
      { img: h1, text: '犬夜叉', id: 4 },
      { img: h2, text: '宝可梦', id: 5 },
      { img: h3, text: '漫画', id: 6 },
    ],
    name:'',
  })
})

export default useCounter